package com.hou.dao;

import com.hou.pojo.Place;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shkstart
 * @create 2021-09-22-22:00
 */
@Mapper
public interface PlaceDao extends BaseDao<Place,String> {

    List<Place> findByProvinceIdPage(@Param("start") Integer start, @Param("rows")Integer rows, @Param("provinceId")String provinceId);

    Integer findByProvinceIdCounts(String provinceId);

    // 根据id获取景点信息
    Place getPlaceById(String id);

}
